<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>My JSP 'input_hotel.jsp' starting page</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<link rel="stylesheet" type="text/css" href="<c:url value="/css/application.css"></c:url>">
    <link rel="stylesheet" type="text/css" href="<c:url value="/css/form.css"></c:url>">


  </head>
  
  <body>
   <form action="<c:url value="/HotelMgr"/>" method="post">
      <input type="hidden" name="act" value="updateHotel">
      <input type="hidden" name="hotelId" value="${hotel.hotelId}"/>
      <div class="headTitle">&gt;&gt;修改酒店信息 【${hotel.hotelName}】</div>
      <div class="groupline" style="margin-bottom:5px">酒店分店信息设置</div>
       <div>
        <ul>
         <li>
            <span class="lableFont">分店编号：</span>
             ${hotel.hotelId}
          </li>
          <li>
            <span class="lableFont">分店名称：</span>
            <input type="text" class="text" name="hotelName" size="40" value="${hotel.hotelName}"/>
          </li>
          <li>
            <span class="lableFont">分店地址：</span>
            <input type="text" class="text" name="hotelAddress" size="40" value="${hotel.hotelAddress}"/>
          </li>
          <li>
            <span class="lableFont">分店电话：</span>
            <input type="text" class="text" name="hotelPhone" size="40" value="${hotel.hotelPhone}"/>
          </li>
          <li>
            <span class="lableFont">房间总数：</span>
            <input type="text" class="text" name="roomAccount" size="40" value="${hotel.roomAccount}"/>
          </li>
        </ul>
      </div>
      <div class="submitDiv">
        <input type="submit" value="确认修改"/>
        <input type="reset" value="取消重写"/>
      </div>
    </form>
    <c:if test="${not empty errMsg}">
          <script type="text/javascript">
             alert("${errMsg}");
          </script>
       </c:if>
  </body>
</html>
